Component({
  properties: {
    top: {
      type: Number,
      value: 110
    },
    right: {
      type: Number,
      value: 70
    },
    show: {
      type: Boolean,
      value: false
    }, mwidth: {
      type: Number,
      value: 70
    }

  },

  data: {
    right: 70,
    top: 110,
    mwidth: 0,
    show: false,
  },

  methods: {
    _close() {
      wx.setStorageSync('addMp', true);
      this.setData({
        show: false
      });
      // 如果需要通知父组件，也可以触发事件
      this.triggerEvent('close');
    },
  }
}); 